{% extends 'base.html' %}
{% import '_my_wtf_macros.html' as my_wtf_macros %}

{% block title %}万屏时代--新增企业派单规则{% endblock %}

{% block panel_heading %}万屏时代--新增企业派单规则{% endblock %}
{% block panel_body %}
    <form action="{{
            url_for('enterprise_bp.enterprise_dispatch_rule_add', enterprise_id = enterprise_id)
            }}" method="post" class="form" role="form">
        <div class="well well-sm">新增企业派单规则</div>
        {{ my_wtf_macros.form_field(form.color, div_col=4, label_col=5, field_col=7) }}
        {{ my_wtf_macros.form_field(form.span, div_col=4, label_col=5, field_col=7) }}
        <div class="clearfix visible-xs-block visible-sm-block visible-md-block visible-lg-block"></div>
        {{ my_wtf_macros.form_field(form.size_op, div_col=4, label_col=5, field_col=7) }}
        {{ my_wtf_macros.form_field(form.size, div_col=4, label_col=5, field_col=7) }}
        <div class="pull-right">
            <button type="submit" class="btn btn-success"
                    id="add-user-btn">
                新增
            </button>
        </div>
    </form>
{% endblock %}

